import { request } from '@/utils/request'
import type { LoginUser } from '@/types/user'
// 通过密码登录
export const loginPassword = (mobile: string, password: string) => {
  return request<LoginUser>('/login/password', 'post', {
    mobile,
    password
  })
}
